package cn.java8practise.lambda;

import lombok.Data;

/**
 * Created by fayangsh on 17-4-25.
 */
@Data
public class Orange extends Fruit {
    private Integer weigth;

    private String color;
    public Orange(Integer weight){
        this.weigth=weight;
    }

    public Orange(String color,Integer weight){
        this.weigth=weight;
        this.color=color;
    }
}
